package com.hc.cosmetichospital.common;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 生成流水号的工具类
 * @author ASUS
 */
public class SerialNumber {
		
	public static String getSerial() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
		
		String serial = "KH";
		
		serial+=sdf.format(new Date());
		
		return serial;
	}	
}
